<?php
/**
 * Created by PhpStorm.
 * User: Hanson
 * Date: 2016/7/24
 * Time: 22:28
 */

namespace App\Handlers;


use EasyWeChat\Message\Voice;

class VoiceHandler implements HandlerInterface
{

    public static function run($message)
    {
        $voice = new Voice();
        $voice->media_id = $message->MediaId;
        return $voice;
    }
}